package com.fulu.game.bi.controller.value;

import com.fulu.game.bi.entity.vo.Result;
import com.fulu.game.bi.redis.service.value.ValueAddService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 增值场景-条件
 */
@RestController
@RequestMapping("/api/value/condition")
@Slf4j
public class ValueConditionController {

    @Autowired
    private ValueAddService valueAddService;

    /**
     * 增值场景-礼物类型
     */
    @RequestMapping("/gift-type")
    public Result giftType(Integer category,Integer queryType) {
        return Result.success().data(valueAddService.giftType(category,queryType));
    }


}
